﻿// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_BOM_STD_TECHNIC
// * CreateDate    : 2012/5/15 11:04:46
// * Creater       : CodeSmith
// * LastChangeDate: 2012/5/15 11:04:46
// * LastChanger   : 2012/5/15 11:04:46
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class BomStdTechnicTable : TableInfo
    {
        public const string C_TableName = "BOM_STD_TECHNIC";

        public const string C_BOM_TECHNIC_ID = "BOM_TECHNIC_ID";
        public const string C_STATION_ID = "STATION_ID";
        public const string C_PRODUCT_ID = "PRODUCT_ID";
        public const string C_SEQUENCE = "SEQUENCE";
        public const string C_STD_WORKING_TIME = "STD_WORKING_TIME";
        public const string C_REMARK = "REMARK";

        public BomStdTechnicTable()
        {
            _tableName = "BOM_STD_TECHNIC";
        }

        protected static BomStdTechnicTable _current;
        public static BomStdTechnicTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new BomStdTechnicTable();

            _current.Add(C_BOM_TECHNIC_ID, new ColumnInfo(C_BOM_TECHNIC_ID, "BomTechnicId", true, typeof(string)));
            _current.Add(C_STATION_ID, new ColumnInfo(C_STATION_ID, "StationId", false, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID, "ProductId", false, typeof(string)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE, "Sequence", false, typeof(int)));
            _current.Add(C_STD_WORKING_TIME, new ColumnInfo(C_STD_WORKING_TIME, "StdWorkingTime", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK, "Remark", false, typeof(string)));

        }

        public ColumnInfo BOM_TECHNIC_ID
        {
            get { return this[C_BOM_TECHNIC_ID]; }
        }

        public ColumnInfo STATION_ID
        {
            get { return this[C_STATION_ID]; }
        }

        public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }

        public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }

        public ColumnInfo STD_WORKING_TIME
        {
            get { return this[C_STD_WORKING_TIME]; }
        }

        public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }



    }
}

